package com.nanhai.buddhist.college.module.study.controller.admin.attendancemanagementlog.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import java.util.*;
import io.swagger.annotations.*;

import static com.nanhai.buddhist.college.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@ApiModel("管理后台 - 请假审核记录 Response VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class AttendanceManagementLogRespVO extends AttendanceManagementLogBaseVO {

    @ApiModelProperty(value = "创建时间")
    private Date createTime;


    @ApiModelProperty(value = "请假事由", required = true)
    private String leaveReason;

    @ApiModelProperty(value = "请假天数(单位:天)", required = true)
    private Double leaveDays;

    @ApiModelProperty("请假提交时间")
    @JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND, timezone = "GMT+8")
    private Date submitTime;

}
